GetMenuAndItem
Mac OSThe
GetMenuAndItem
method gets the menu/menu item designation for the specified command ID.
void GetMenuAndItem (in ODCommandID command, out ODMenuID menu, out ODMenuItemID menuItem);
command
- The command ID of the menu item to be checked. On the Mac OS platform, the command ID is defined as a signed 32-bit value.
menu
- A platform-specific identifier for a menu. On the Mac OS platform, the menu ID is defined as a signed 16-bit value.
menuItem
- A platform-specific identifier for a menu item. On the Mac OS platform, the menu item ID is defined as a signed 16-bit value.
EXCEPTIONS
kODErrInvalidCommandID
- The specified menu item does not exist.
SEE ALSO
TheODCommandID
type (page 895).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help